package com.ygqh.baby.po;

import java.math.BigDecimal;
import java.util.Date;

import com.ygqh.baby.ao.DataStatus;

public class YgUserBargainDetail {
	private Long id;
    private Long userId;
	private String openId;

	private String nickName;

	private String headUrl;

	private Long userBargainId;

	private BigDecimal cutPrice;

	private Date createTime;

	private DataStatus status;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public YgUserBargainDetail() {
		super();
	}

	public YgUserBargainDetail(String openId, String nickName, String headUrl, Long userBargainId, BigDecimal cutPrice) {
		super();
		this.openId = openId;
		this.nickName = nickName;
		this.headUrl = headUrl;
		this.userBargainId = userBargainId;
		this.cutPrice = cutPrice;
		this.createTime = new Date();
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getOpenId() {
		return openId;
	}

	public void setOpenId(String openId) {
		this.openId = openId == null ? null : openId.trim();
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName == null ? null : nickName.trim();
	}

	public String getHeadUrl() {
		return headUrl;
	}

	public void setHeadUrl(String headUrl) {
		this.headUrl = headUrl == null ? null : headUrl.trim();
	}

	public Long getUserBargainId() {
		return userBargainId;
	}

	public void setUserBargainId(Long userBargainId) {
		this.userBargainId = userBargainId;
	}

	public BigDecimal getCutPrice() {
		return cutPrice;
	}

	public void setCutPrice(BigDecimal cutPrice) {
		this.cutPrice = cutPrice;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public DataStatus getStatus() {
		return status;
	}

	public void setStatus(DataStatus status) {
		this.status = status;
	}

}